{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\Jordan\Documents\data\Log_file_for_FPA_article.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}16 May 2019, 09:44:48

{com}. do "C:\Users\Jordan\Documents\data\Replication_do_file_for_FPA_article.do"
{txt}
{com}. ** Replication for "Forcing the President's Hand"  
. ** Jordan Tama                                                                      
. ** May 15, 2019                                                                         
. 
. 
. ** Code uses dataset congressional_sanctions_legislation_1983-2014 
. ** Analysis is basis for descriptive statistics presented in Table 1 and body of paper (pages 12-14)
. 
. 
. ** Code for descriptive statistics presented in Table 1
. 
. ** Code for first row of table
. use congressional_sanctions_legislation_1983-2014.dta, clear
{txt}
{com}. drop if presidentialopposition==0
{txt}(28 observations deleted)

{com}. tabulate approvedbycongress

{txt}Approved by {c |}
   Congress {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}         39       52.00       52.00
{txt}          1 {c |}{res}         36       48.00      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}         75      100.00
{txt}
{com}. tabulate signedbypresident if approvedbycongress==1

  {txt}Signed by {c |}
  president {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}          7       19.44       19.44
{txt}          1 {c |}{res}         29       80.56      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}         36      100.00
{txt}
{com}. tabulate veto if approvedbycongress==1

       {txt}Veto {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}         29       80.56       80.56
{txt}          1 {c |}{res}          7       19.44      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}         36      100.00
{txt}
{com}. tabulate presidentdissatisfiedwhenenacted if signedbypresident==1

  {txt}President {c |}
dissatisfie {c |}
     d when {c |}
    enacted {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}         16       55.17       55.17
{txt}          1 {c |}{res}         13       44.83      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}         29      100.00
{txt}
{com}. 
. ** Code for second and third rows of table
. ** When houseorsenateunifiedpartycontrol==1, this represents condition described in second row of table
. ** When houseorsenateunifiedpartycontrol==0, this represents condition described in third row of table
. use congressional_sanctions_legislation_1983-2014.dta, clear
{txt}
{com}. drop if presidentialopposition==0
{txt}(28 observations deleted)

{com}. tabulate houseorsenateunifiedpartycontrol

   {txt}House or {c |}
     Senate {c |}
    unified {c |}
      party {c |}
    control {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}         46       61.33       61.33
{txt}          1 {c |}{res}         29       38.67      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}         75      100.00
{txt}
{com}. tabulate approvedbycongress if houseorsenateunifiedpartycontrol==1

{txt}Approved by {c |}
   Congress {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}         13       44.83       44.83
{txt}          1 {c |}{res}         16       55.17      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}         29      100.00
{txt}
{com}. tabulate signedbypresident if houseorsenateunifiedpartycontrol==1

  {txt}Signed by {c |}
  president {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}         15       51.72       51.72
{txt}          1 {c |}{res}         14       48.28      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}         29      100.00
{txt}
{com}. tabulate approvedbycongress if houseorsenateunifiedpartycontrol==0

{txt}Approved by {c |}
   Congress {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}         26       56.52       56.52
{txt}          1 {c |}{res}         20       43.48      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}         46      100.00
{txt}
{com}. tabulate signedbypresident if houseorsenateunifiedpartycontrol==0

  {txt}Signed by {c |}
  president {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}         31       67.39       67.39
{txt}          1 {c |}{res}         15       32.61      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}         46      100.00
{txt}
{com}. drop if houseorsenateunifiedpartycontrol==0
{txt}(46 observations deleted)

{com}. tabulate presidentdissatisfiedwhenenacted if signedbypresident==1

  {txt}President {c |}
dissatisfie {c |}
     d when {c |}
    enacted {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}          9       64.29       64.29
{txt}          1 {c |}{res}          5       35.71      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}         14      100.00
{txt}
{com}. use congressional_sanctions_legislation_1983-2014.dta, clear
{txt}
{com}. drop if presidentialopposition==0
{txt}(28 observations deleted)

{com}. drop if houseorsenateunifiedpartycontrol==1
{txt}(29 observations deleted)

{com}. tabulate presidentdissatisfiedwhenenacted if signedbypresident==1

  {txt}President {c |}
dissatisfie {c |}
     d when {c |}
    enacted {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}          7       46.67       46.67
{txt}          1 {c |}{res}          8       53.33      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}         15      100.00
{txt}
{com}. 
. ** Code for fourth and fifth rows of table
. use congressional_sanctions_legislation_1983-2014.dta, clear
{txt}
{com}. drop if presidentialopposition==0
{txt}(28 observations deleted)

{com}. tabulate bipartisansupportincongress

 {txt}Bipartisan {c |}
 support in {c |}
   Congress {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}         11       14.67       14.67
{txt}          1 {c |}{res}         64       85.33      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}         75      100.00
{txt}
{com}. tabulate approvedbycongress if bipartisansupportincongress==1

{txt}Approved by {c |}
   Congress {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}         31       48.44       48.44
{txt}          1 {c |}{res}         33       51.56      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}         64      100.00
{txt}
{com}. tabulate signedbypresident if bipartisansupportincongress==1

  {txt}Signed by {c |}
  president {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}         35       54.69       54.69
{txt}          1 {c |}{res}         29       45.31      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}         64      100.00
{txt}
{com}. tabulate approvedbycongress if bipartisansupportincongress==0

{txt}Approved by {c |}
   Congress {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}          8       72.73       72.73
{txt}          1 {c |}{res}          3       27.27      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}         11      100.00
{txt}
{com}. tabulate signedbypresident if bipartisansupportincongress==0

  {txt}Signed by {c |}
  president {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}         11      100.00      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}         11      100.00
{txt}
{com}. drop if bipartisansupportincongress==0
{txt}(11 observations deleted)

{com}. tabulate presidentdissatisfiedwhenenacted if signedbypresident==1

  {txt}President {c |}
dissatisfie {c |}
     d when {c |}
    enacted {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}         16       55.17       55.17
{txt}          1 {c |}{res}         13       44.83      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}         29      100.00
{txt}
{com}. 
. ** Code for sixth and seventh rows of table
. use congressional_sanctions_legislation_1983-2014.dta, clear
{txt}
{com}. drop if presidentialopposition==0
{txt}(28 observations deleted)

{com}. tabulate linkage

    {txt}Linkage {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}         49       65.33       65.33
{txt}          1 {c |}{res}         26       34.67      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}         75      100.00
{txt}
{com}. tabulate approvedbycongress if linkage==1

{txt}Approved by {c |}
   Congress {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}         11       42.31       42.31
{txt}          1 {c |}{res}         15       57.69      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}         26      100.00
{txt}
{com}. tabulate signedbypresident if linkage==1

  {txt}Signed by {c |}
  president {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}         13       50.00       50.00
{txt}          1 {c |}{res}         13       50.00      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}         26      100.00
{txt}
{com}. tabulate approvedbycongress if linkage==0

{txt}Approved by {c |}
   Congress {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}         28       57.14       57.14
{txt}          1 {c |}{res}         21       42.86      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}         49      100.00
{txt}
{com}. tabulate signedbypresident if linkage==0

  {txt}Signed by {c |}
  president {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}         33       67.35       67.35
{txt}          1 {c |}{res}         16       32.65      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}         49      100.00
{txt}
{com}. drop if linkage==0
{txt}(49 observations deleted)

{com}. tabulate presidentdissatisfiedwhenenacted if signedbypresident==1

  {txt}President {c |}
dissatisfie {c |}
     d when {c |}
    enacted {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}          9       69.23       69.23
{txt}          1 {c |}{res}          4       30.77      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}         13      100.00
{txt}
{com}. use congressional_sanctions_legislation_1983-2014.dta, clear
{txt}
{com}. drop if presidentialopposition==0
{txt}(28 observations deleted)

{com}. drop if linkage==1
{txt}(26 observations deleted)

{com}. tabulate presidentdissatisfiedwhenenacted if signedbypresident==1

  {txt}President {c |}
dissatisfie {c |}
     d when {c |}
    enacted {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}          7       43.75       43.75
{txt}          1 {c |}{res}          9       56.25      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}         16      100.00
{txt}
{com}. 
. 
. ** Code for other descriptive statistics mentioned in body of paper (in section entitled "Patterns in U.S. Sanctions Legislation")
. ** To avoid redundancy, I only include below code for statistics not presented in Table 1
. 
. ** Code for descriptive statistics in paragraph beginning "I found that these proposals typically received…"
. use congressional_sanctions_legislation_1983-2014.dta, clear
{txt}
{com}. tabulate congressionalvote

{txt}Congression {c |}
    al vote {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}         25       24.27       24.27
{txt}          1 {c |}{res}         78       75.73      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        103      100.00
{txt}
{com}. tabulate bipartisansupportincongress if congressionalvote==1

 {txt}Bipartisan {c |}
 support in {c |}
   Congress {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}         11       14.10       14.10
{txt}          1 {c |}{res}         67       85.90      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}         78      100.00
{txt}
{com}. tabulate bipartisancosponsorship if congressionalvote==0

 {txt}Bipartisan {c |}
cosponsorsh {c |}
         ip {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}          5       20.00       20.00
{txt}          1 {c |}{res}         20       80.00      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}         25      100.00
{txt}
{com}. tabulate presidentialopposition

{txt}Presidentia {c |}
          l {c |}
 opposition {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}         28       27.18       27.18
{txt}          1 {c |}{res}         75       72.82      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        103      100.00
{txt}
{com}. 
. ** Code for descriptive statistic in paragraph beginning "Moreover, Congress regularly defied the president…"
. use congressional_sanctions_legislation_1983-2014.dta, clear
{txt}
{com}. drop if presidentialopposition==0
{txt}(28 observations deleted)

{com}. drop if houseorsenateunifiedpartycontrol==0
{txt}(46 observations deleted)

{com}. tabulate vetooverride if approvedbycongress==1

       {txt}Veto {c |}
   override {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}         15       93.75       93.75
{txt}          1 {c |}{res}          1        6.25      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}         16      100.00
{txt}
{com}. 
. ** Code for descriptive statistics in paragraph beginning "Finally, the data indicate that the president frequently implements"
. use congressional_sanctions_legislation_1983-2014.dta, clear
{txt}
{com}. drop if presidentialopposition==0
{txt}(28 observations deleted)

{com}. drop if waiverorcertificationauthority==0
{txt}(29 observations deleted)

{com}. tabulate lawimplemented

        {txt}Law {c |}
implemented {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}          6       24.00       24.00
{txt}          1 {c |}{res}         19       76.00      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}         25      100.00
{txt}
{com}. tabulate lawimplemented if presidentdissatisfiedwhenenacted

        {txt}Law {c |}
implemented {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}          5       41.67       41.67
{txt}          1 {c |}{res}          7       58.33      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}         12      100.00
{txt}
{com}. 
{txt}end of do-file

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\Jordan\Documents\data\Log_file_for_FPA_article.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}16 May 2019, 09:50:32
{txt}{.-}
{smcl}
{txt}{sf}{ul off}